package com.aiti.lulian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@TableName("msg_inbox")
@Data
public class MsgInbox {

    @TableId(value = "base_id",type = IdType.UUID)
    private String baseId;
    //发送者id
    private String senderId;
    //接收者id
    private String receiverId;
    //消息内容
    private String content;
    //消息状态，0-未读，1-已读
    private Integer status;

    private Date baseCreateTime;

    private Date baseUpdateTime;

    private Boolean isDelete;

    /**创建者**/
    private String creator;
    /**更新者**/
    private String updateBy;
}